
 <!DOCTYPE HTML>
<html lang="CN">
<head>
  <meta charset="UTF-8">
  
    <title>emacs 快捷键 | Blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    
    <meta name="author" content="zt.cfvli">
    

    
    <meta name="description" content="emacs 快捷键12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910">
<meta property="og:type" content="article">
<meta property="og:title" content="emacs 快捷键">
<meta property="og:url" content="http://ttytc.com/2016/11/28/emacs quick key /index.html">
<meta property="og:site_name" content="Blog">
<meta property="og:description" content="emacs 快捷键12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910">
<meta property="og:updated_time" content="2016-11-29T04:37:23.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="emacs 快捷键">
<meta name="twitter:description" content="emacs 快捷键12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910">

    
    <link rel="alternative" href="/atom.xml" title="Blog" type="application/atom+xml">
    
    
    <link rel="icon" href="/img/favicon.ico">
    
    
    <link rel="apple-touch-icon" href="/img/jacman.jpg">
    <link rel="apple-touch-icon-precomposed" href="/img/jacman.jpg">
    
    <link rel="stylesheet" href="/css/style.css">
</head>

  <body>
    <header>
      
<div>
		
			<div id="imglogo">
				<a href="/"><img src="/img/logo.png" alt="Blog" title="Blog"/></a>
			</div>
			
			<div id="textlogo">
				<h1 class="site-name"><a href="/" title="Blog">Blog</a></h1>
				<h2 class="blog-motto"></h2>
			</div>
			<div class="navbar"><a class="navbutton navmobile" href="#" title="Menu">
			</a></div>
			<nav class="animated">
				<ul>
					<ul>
					 
						<li><a href="/">Home</a></li>
					
						<li><a href="/archives">Archives</a></li>
					
						<li><a href="/about">About</a></li>
					
					<li>
 					
					<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
						<label>Search</label>
						<input type="search" id="search" name="q" autocomplete="off" maxlength="20" placeholder="Search" />
						<input type="hidden" name="q" value="site:ttytc.com">
					</form>
					
					</li>
				</ul>
			</nav>			
</div>
    </header>
    <div id="container">
      <div id="main" class="post" itemscope itemprop="blogPost">
  
	<article itemprop="articleBody"> 
		<header class="article-info clearfix">
  <h1 itemprop="name">
    
      <a href="/2016/11/28/emacs quick key /" title="emacs 快捷键" itemprop="url">emacs 快捷键</a>
  </h1>
  <p class="article-author">By
       
		<a href="/about" title="zt.cfvli" target="_blank" itemprop="author">zt.cfvli</a>
		
  <p class="article-time">
    <time datetime="2016-11-28T05:11:43.000Z" itemprop="datePublished"> Published 2016-11-28</time>
    
  </p>
</header>
	<div class="article-content">
		
		<div id="toc" class="toc-article">
			<strong class="toc-title">Contents</strong>
		
			<ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#emacs-快捷键"><span class="toc-number">1.</span> <span class="toc-text">emacs 快捷键</span></a></li></ol>
		
		</div>
		
		<h1 id="emacs-快捷键"><a href="#emacs-快捷键" class="headerlink" title="emacs 快捷键"></a>emacs 快捷键</h1><figure class="highlight plain"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div><div class="line">19</div><div class="line">20</div><div class="line">21</div><div class="line">22</div><div class="line">23</div><div class="line">24</div><div class="line">25</div><div class="line">26</div><div class="line">27</div><div class="line">28</div><div class="line">29</div><div class="line">30</div><div class="line">31</div><div class="line">32</div><div class="line">33</div><div class="line">34</div><div class="line">35</div><div class="line">36</div><div class="line">37</div><div class="line">38</div><div class="line">39</div><div class="line">40</div><div class="line">41</div><div class="line">42</div><div class="line">43</div><div class="line">44</div><div class="line">45</div><div class="line">46</div><div class="line">47</div><div class="line">48</div><div class="line">49</div><div class="line">50</div><div class="line">51</div><div class="line">52</div><div class="line">53</div><div class="line">54</div><div class="line">55</div><div class="line">56</div><div class="line">57</div><div class="line">58</div><div class="line">59</div><div class="line">60</div><div class="line">61</div><div class="line">62</div><div class="line">63</div><div class="line">64</div><div class="line">65</div><div class="line">66</div><div class="line">67</div><div class="line">68</div><div class="line">69</div><div class="line">70</div><div class="line">71</div><div class="line">72</div><div class="line">73</div><div class="line">74</div><div class="line">75</div><div class="line">76</div><div class="line">77</div><div class="line">78</div><div class="line">79</div><div class="line">80</div><div class="line">81</div><div class="line">82</div><div class="line">83</div><div class="line">84</div><div class="line">85</div><div class="line">86</div><div class="line">87</div><div class="line">88</div><div class="line">89</div><div class="line">90</div><div class="line">91</div><div class="line">92</div><div class="line">93</div><div class="line">94</div><div class="line">95</div><div class="line">96</div><div class="line">97</div><div class="line">98</div><div class="line">99</div><div class="line">100</div><div class="line">101</div><div class="line">102</div><div class="line">103</div><div class="line">104</div><div class="line">105</div><div class="line">106</div><div class="line">107</div><div class="line">108</div><div class="line">109</div><div class="line">110</div><div class="line">111</div><div class="line">112</div><div class="line">113</div><div class="line">114</div><div class="line">115</div><div class="line">116</div><div class="line">117</div><div class="line">118</div><div class="line">119</div><div class="line">120</div><div class="line">121</div><div class="line">122</div><div class="line">123</div><div class="line">124</div><div class="line">125</div><div class="line">126</div><div class="line">127</div><div class="line">128</div><div class="line">129</div><div class="line">130</div><div class="line">131</div><div class="line">132</div><div class="line">133</div><div class="line">134</div><div class="line">135</div><div class="line">136</div><div class="line">137</div><div class="line">138</div><div class="line">139</div><div class="line">140</div><div class="line">141</div><div class="line">142</div><div class="line">143</div><div class="line">144</div><div class="line">145</div><div class="line">146</div><div class="line">147</div><div class="line">148</div><div class="line">149</div><div class="line">150</div><div class="line">151</div><div class="line">152</div><div class="line">153</div><div class="line">154</div><div class="line">155</div><div class="line">156</div><div class="line">157</div><div class="line">158</div><div class="line">159</div><div class="line">160</div><div class="line">161</div><div class="line">162</div><div class="line">163</div><div class="line">164</div><div class="line">165</div><div class="line">166</div><div class="line">167</div><div class="line">168</div><div class="line">169</div><div class="line">170</div><div class="line">171</div><div class="line">172</div><div class="line">173</div><div class="line">174</div><div class="line">175</div><div class="line">176</div><div class="line">177</div><div class="line">178</div><div class="line">179</div><div class="line">180</div><div class="line">181</div><div class="line">182</div><div class="line">183</div><div class="line">184</div><div class="line">185</div><div class="line">186</div><div class="line">187</div><div class="line">188</div><div class="line">189</div><div class="line">190</div><div class="line">191</div><div class="line">192</div><div class="line">193</div><div class="line">194</div><div class="line">195</div><div class="line">196</div><div class="line">197</div><div class="line">198</div><div class="line">199</div><div class="line">200</div><div class="line">201</div><div class="line">202</div><div class="line">203</div><div class="line">204</div><div class="line">205</div><div class="line">206</div><div class="line">207</div><div class="line">208</div><div class="line">209</div><div class="line">210</div><div class="line">211</div><div class="line">212</div><div class="line">213</div><div class="line">214</div><div class="line">215</div><div class="line">216</div><div class="line">217</div><div class="line">218</div><div class="line">219</div><div class="line">220</div><div class="line">221</div><div class="line">222</div><div class="line">223</div><div class="line">224</div><div class="line">225</div><div class="line">226</div><div class="line">227</div><div class="line">228</div><div class="line">229</div><div class="line">230</div><div class="line">231</div><div class="line">232</div><div class="line">233</div><div class="line">234</div><div class="line">235</div><div class="line">236</div><div class="line">237</div><div class="line">238</div><div class="line">239</div><div class="line">240</div><div class="line">241</div><div class="line">242</div><div class="line">243</div><div class="line">244</div><div class="line">245</div><div class="line">246</div><div class="line">247</div><div class="line">248</div><div class="line">249</div><div class="line">250</div><div class="line">251</div><div class="line">252</div></pre></td><td class="code"><pre><div class="line">基本快捷键(Basic)</div><div class="line">C-x C-f &quot;find&quot;文件, 即在缓冲区打开/新建一个文件</div><div class="line">C-x C-s 保存文件</div><div class="line">C-x C-w 使用其他文件名另存为文件</div><div class="line">C-x C-v 关闭当前缓冲区文件并打开新文件</div><div class="line">C-x i 在当前光标处插入文件</div><div class="line">C-x b 新建/切换缓冲区</div><div class="line">C-x C-b 显示缓冲区列表</div><div class="line">C-x k 关闭当前缓冲区</div><div class="line">C-z 挂起emacs</div><div class="line">C-x C-c 关闭emacs</div><div class="line"></div><div class="line">光标移动基本快捷键(Basic Movement)</div><div class="line">C-f 后一个字符</div><div class="line">C-b 前一个字符</div><div class="line">C-p 上一行</div><div class="line">C-n 下一行</div><div class="line">M-f 后一个单词</div><div class="line">M-b 前一个单词</div><div class="line">C-a 行首</div><div class="line">C-e 行尾</div><div class="line">C-v 向下翻一页</div><div class="line">M-v 向上翻一页</div><div class="line">M-&lt; 到文件开头</div><div class="line">M-&gt; 到文件末尾</div><div class="line"></div><div class="line">编辑(Editint)</div><div class="line">M-n 重复执行后一个命令n次</div><div class="line">C-u 重复执行后一个命令4次</div><div class="line">C-u n 重复执行后一个命令n次</div><div class="line">C-d 删除(delete)后一个字符</div><div class="line">M-d 删除后一个单词</div><div class="line">Del 删除前一个字符</div><div class="line">M-Del 删除前一个单词</div><div class="line">C-k 移除(kill)一行</div><div class="line"></div><div class="line">C-Space 设置开始标记 (例如标记区域)</div><div class="line">C-@ 功能同上, 用于C-Space被操作系统拦截的情况</div><div class="line">C-w 移除(kill)标记区域的内容</div><div class="line">M-w 复制标记区域的内容</div><div class="line">C-y 召回(yank)复制/移除的区域/行</div><div class="line">M-y 召回更早的内容 (在kill缓冲区内循环)</div><div class="line">C-x C-x 交换光标和标记</div><div class="line"></div><div class="line">C-t 交换两个字符的位置</div><div class="line">M-t 交换两个单词的位置</div><div class="line">C-x C-t 交换两行的位置</div><div class="line">M-u 使从光标位置到单词结尾处的字母变成大写</div><div class="line">M-l 与M-u相反</div><div class="line">M-c 使从光标位置开始的单词的首字母变为大写</div><div class="line"></div><div class="line">重要快捷键(Important)</div><div class="line">C-g 停止当前运行/输入的命令</div><div class="line">C-x u 撤销前一个命令</div><div class="line">M-x revert-buffer RETURN (照着这个输入)撤销上次存盘后所有改动</div><div class="line">M-x recover-file RETURN 从自动存盘文件恢复</div><div class="line">M-x recover-session RETURN 如果你编辑了几个文件, 用这个恢复</div><div class="line"></div><div class="line">在线帮助(Online-Help)</div><div class="line">C-h c 显示快捷键绑定的命令</div><div class="line">C-h k 显示快捷键绑定的命令和它的作用</div><div class="line">C-h l 显示最后100个键入的内容</div><div class="line">C-h w 显示命令被绑定到哪些快捷键上</div><div class="line">C-h f 显示函数的功能</div><div class="line">C-h v 显示变量的含义和值</div><div class="line">C-h b 显示当前缓冲区所有可用的快捷键</div><div class="line">C-h t 打开emacs教程</div><div class="line">C-h i 打开info阅读器</div><div class="line">C-h C-f 显示emacs FAQ</div><div class="line">C-h p 显示本机Elisp包的信息</div><div class="line"></div><div class="line">搜索/替换(Seach/Replace)</div><div class="line">C-s 向后搜索</div><div class="line">C-r 向前搜索</div><div class="line">C-g 回到搜索开始前的位置(如果你仍然在搜索模式中)</div><div class="line">M-% 询问并替换(query replace)</div><div class="line"></div><div class="line">Space或y 替换当前匹配</div><div class="line">Del或n 不要替换当前匹配</div><div class="line">. 仅仅替换当前匹配并退出(替换)</div><div class="line">, 替换并暂停(按Space或y继续)</div><div class="line">! 替换以下所有匹配</div><div class="line">^ 回到上一个匹配位置</div><div class="line">RETURN或q 退出替换</div><div class="line"></div><div class="line">使用正则表达式(Regular expression)搜索/替换</div><div class="line">可在正则表达式中使用的符号:</div><div class="line">^ 行首</div><div class="line">$ 行尾</div><div class="line">. 单个字符</div><div class="line">.* 任意多个(包括没有)字符</div><div class="line">\&lt; 单词开头</div><div class="line">\&gt; 单词结尾</div><div class="line">[] 括号中的任意一个字符(例如[a-z]表示所有的小写字母)</div><div class="line"></div><div class="line">M C-s RETURN 使用正则表达式向后搜索</div><div class="line">M C-r RETURN 使用正则表达式向前搜索</div><div class="line">C-s 增量搜索</div><div class="line">C-s 重复增量搜索</div><div class="line">C-r 向前增量搜索</div><div class="line">C-r 重复向前增量搜索</div><div class="line">M-x query-replace-regexp 使用正则表达式搜索并替换</div><div class="line"></div><div class="line">窗口命令(Window Commands)</div><div class="line">C-x 2 水平分割窗格</div><div class="line">C-x 3 垂直分割窗格</div><div class="line">C-x o 切换至其他窗格</div><div class="line">C-x 0 关闭窗格</div><div class="line">C-x 1 关闭除了光标所在窗格外所有窗格</div><div class="line">C-x ^ 扩大窗格</div><div class="line">M-x shrink-window 缩小窗格</div><div class="line">M C-v 滚动其他窗格内容</div><div class="line">C-x 4 f 在其他窗格中打开文件</div><div class="line">C-x 4 0 关闭当前缓冲区和窗格</div><div class="line">C-x 5 2 新建窗口(frame)</div><div class="line">C-x 5 f 在新窗口中打开文件</div><div class="line">C-x 5 o 切换至其他窗口</div><div class="line">C-x 5 0 关闭当前窗口</div><div class="line"></div><div class="line">书签命令(Bookmark commands)</div><div class="line">C-x r m 在光标当前位置创建书签</div><div class="line">C-x r b 转到书签</div><div class="line">M-x bookmark-rename 重命名书签</div><div class="line">M-x bookmark-delete 删除书签</div><div class="line">M-x bookmark-save 保存书签</div><div class="line">C-x r l 列出书签清单</div><div class="line"></div><div class="line">d 标记等待删除</div><div class="line">Del 取消删除标记</div><div class="line">x 删除被标记的书签</div><div class="line">r 重命名</div><div class="line">s 保存列表内所有书签</div><div class="line">f 转到当前书签指向的位置</div><div class="line">m 标记在多窗口中打开</div><div class="line">v 显示被标记的书签(或者光标当前位置的书签)</div><div class="line">t 切换是否显示路径列表</div><div class="line">w 显示当前文件路径</div><div class="line">q 退出书签列表</div><div class="line"></div><div class="line">M-x bookmark-write 将所有书签导出至指定文件</div><div class="line">M-x bookmark-load 从指定文件导入书签</div><div class="line"></div><div class="line">Shell</div><div class="line">M-x shell 打开shell模式</div><div class="line">C-c C-c 类似unix里的C-c(停止正在运行的程序)</div><div class="line">C-d 删除光标后一个字符</div><div class="line">C-c C-d 发送EOF</div><div class="line">C-c C-z 挂起程序(unix下的C-z)</div><div class="line">M-p 显示前一条命令</div><div class="line">M-n 显示后一条命令</div><div class="line"></div><div class="line">DIRectory EDitor (dired)</div><div class="line">C-x d 打开dired</div><div class="line">C(大写C) 复制</div><div class="line">d 标记等待删除</div><div class="line">D 立即删除</div><div class="line">e或f 打开文件或目录</div><div class="line">g 刷新当前目录</div><div class="line">G 改变文件所属组(chgrp)</div><div class="line">k 从屏幕上的列表里删除一行(不是真的删除)</div><div class="line">m 用*标记</div><div class="line">n 光标移动到下一行</div><div class="line">o 在另一个窗格打开文件并移动光标</div><div class="line">C-o 在另一个窗格打开文件但不移动光标</div><div class="line">P 打印文件</div><div class="line">q 退出dired</div><div class="line">Q 在标记的文件中替换</div><div class="line">R 重命名文件</div><div class="line">u 移除标记</div><div class="line">v 显示文件内容</div><div class="line">x 删除有D标记的文件</div><div class="line">Z 压缩/解压缩文件</div><div class="line">M-Del 移除标记(默认为所有类型的标记)</div><div class="line">~ 标记备份文件(文件名有~的文件)等待删除</div><div class="line"># 标记自动保存文件(文件名形如#name#)等待删除</div><div class="line">*/ 用*标记所有文件夹(用C-u */n移除标记)</div><div class="line">= 将当前文件和标记文件(使用C-@标记而不是dired的m标记)比较</div><div class="line">M-= 将当前文件和它的备份比较</div><div class="line">! 对当前文件应用shell命令</div><div class="line">M-&#125; 移动光标至下一个用*或D标记的文件</div><div class="line">M-&#123; 移动光标至上一个用*或D标记的文件</div><div class="line">% d 使用正则表达式标记文件等待删除</div><div class="line">% m 使用正则表达式标记文件为*</div><div class="line">+ 新建文件夹</div><div class="line">&gt; 移动光标至后一个文件夹</div><div class="line">&lt; 移动光标至前一个文件夹</div><div class="line">s 切换排序模式(按文件名/日期)</div><div class="line"></div><div class="line">或许把这个命令归入这一类也很合适:</div><div class="line">M-x speedbar 打开一个独立的目录显示窗口</div><div class="line"></div><div class="line">Telnet</div><div class="line">M-x telnet 打开telnet模式</div><div class="line">C-d 删除后一个字符或发送EOF</div><div class="line">C-c C-c 停止正在运行的程序(和unix下的C-c类似)</div><div class="line">C-c C-d 发送EOF</div><div class="line">C-c C-o 清除最后一个命令的输出</div><div class="line">C-c C-z 挂起正在运行的命令</div><div class="line">C-c C-u 移除前一行</div><div class="line">M-p 显示前一条命令</div><div class="line"></div><div class="line">Text</div><div class="line">只能在text模式里使用</div><div class="line">M-s 使当前行居中</div><div class="line">M-S 使当前段落居中</div><div class="line">M-x center-region 使被选中的区域居中</div><div class="line"></div><div class="line">宏命令(Macro-commands)</div><div class="line">C-x ( 开始定义宏</div><div class="line">C-x ) 结束定义宏</div><div class="line">C-x e 运行最近定义的宏</div><div class="line">M-n C-x e 运行最近定义的宏n次</div><div class="line">M-x name-last-kbd-macro 给最近定义的宏命名(用来保存)</div><div class="line">M-x insert-kbd-macro 将已命名的宏保存到文件</div><div class="line">M-x load-file 载入宏</div><div class="line"></div><div class="line">编程(Programming)</div><div class="line">M C-\ 自动缩进光标和标记间的区域</div><div class="line">M-m 移动光标到行首第一个(非空格)字符</div><div class="line">M-^ 将当前行接到上一行末尾处</div><div class="line">M-; 添加缩进并格式化的注释</div><div class="line">C, C++和Java模式</div><div class="line">M-a 移动光标到声明的开始处</div><div class="line">M-e 移动光标到声明的结尾处</div><div class="line">M C-a 移动光标到函数的开始处</div><div class="line">M C-e 移动光标到函数的结尾处</div><div class="line">C-c RETURN 将光标移动到函数的开始处并标记到结尾处</div><div class="line">C-c C-q 根据缩进风格缩进整个函数</div><div class="line">C-c C-a 切换自动换行功能</div><div class="line">C-c C-d 一次性删除光标后的一串空格(greedy delete)</div><div class="line"></div><div class="line">为了实现下面的一些技术, 你需要在保存源代码的目录里运行&quot;etags</div><div class="line">*.c *.h *.cpp&quot;(或者源代码的其他的扩展名)</div><div class="line">M-.(点) 搜索标签</div><div class="line">M-x tags-search ENTER 在所有标签里搜索(使用正则表达式)</div><div class="line">M-,(逗号) 在tags-search里跳至下一个匹配处</div><div class="line">M-x tags-query-replace 在设置过标签的所有文件里替换文本</div><div class="line"></div><div class="line">GDB(调试器)</div><div class="line">M-x gdb 在另一个的窗格中打开gdb</div><div class="line"></div><div class="line">版本控制(Version Control)</div><div class="line">C-x v d 显示当前目录下所有注册过的文件(show all registered files in this dir)</div><div class="line">C-x v = 比较不同版本间的差异(show diff between versions)</div><div class="line">C-x v u 移除上次提交之后的更改(remove all changes since last checkin)</div><div class="line">C-x v ~ 在不同窗格中显示某个版本(show certain version in different window)</div><div class="line">C-x v l 打印日志(print log)</div><div class="line">C-x v i 标记文件等待添加版本控制(mark file for version control add)</div><div class="line">C-x v h 给文件添加版本控制文件头(insert version control header into file)</div><div class="line">C-x v r 获取命名过的快照(check out named snapshot)</div><div class="line">C-x v s 创建命名的快照(create named snapshot)</div><div class="line">C-x v a 创建gnu风格的更改日志(create changelog file in gnu-style)</div></pre></td></tr></table></figure>
  
	</div>
		<footer class="article-footer clearfix">
<div class="article-catetags">


  <div class="article-tags">
  
  <span></span> <a href="/tags/quick-key/">quick key</a>
  </div>

</div>



	<div class="article-share" id="share">
	
	  <div data-url="http://ttytc.com/2016/11/28/emacs quick key /" data-title="emacs 快捷键 | Blog" data-tsina="null" class="share clearfix">
	  </div>
	
	</div>


</footer>

   	       
	</article>
	
<nav class="article-nav clearfix">
 
 <div class="prev" >
 <a href="/2016/11/28/vim 命令总结/" title="vim 命令使用总结">
  <strong>上一篇：</strong><br/>
  <span>
  vim 命令使用总结</span>
</a>
</div>


<div class="next">
<a href="/2016/11/28/mac os 文本编辑 之 emacs 快捷键/"  title="mac os 文本编辑">
 <strong>下一篇：</strong><br/> 
 <span>mac os 文本编辑
</span>
</a>
</div>

</nav>

	

</div>  
      <div class="openaside"><a class="navbutton" href="#" title="Show Sidebar"></a></div>

  <div id="toc" class="toc-aside">
  <strong class="toc-title">Contents</strong>
 
 <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#emacs-快捷键"><span class="toc-number">1.</span> <span class="toc-text">emacs 快捷键</span></a></li></ol>
 
  </div>

<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="Hide Sidebar"></a></div>
<aside class="clearfix">

  


  

  
<div class="tagslist">
	<p class="asidetitle">Tags</p>
		<ul class="clearfix">
		
			
				<li><a href="/tags/quick-key/" title="quick key">quick key<sup>4</sup></a></li>
			
		
			
				<li><a href="/tags/ubuntu-MacOS-系统盘-u盘/" title="ubuntu MacOS 系统盘 u盘">ubuntu MacOS 系统盘 u盘<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/XCode/" title="XCode">XCode<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/Objective-c-NSString-NSData/" title="Objective-c NSString NSData">Objective-c NSString NSData<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/emqtt/" title="emqtt">emqtt<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/ios-ui/" title="ios ui">ios ui<sup>1</sup></a></li>
			
		
			
				<li><a href="/tags/laravel-web-优化/" title="laravel web 优化">laravel web 优化<sup>1</sup></a></li>
			
		
		</ul>
</div>


  <div class="linkslist">
  <p class="asidetitle">Links</p>
    <ul>
        
          <li>
            
            	<a href="https://coderq.com" target="_blank" title="一个面向程序员交流分享的新一代社区">码农圈</a>
            
          </li>
        
          <li>
            
            	<a href="http://wuchong.me" target="_blank" title="Jark&#39;s Blog">Jark&#39;s Blog</a>
            
          </li>
        
    </ul>
</div>

  


  <div class="rsspart">
	<a href="/atom.xml" target="_blank" title="rss">RSS</a>
</div>

  <div class="weiboshow">
  <p class="asidetitle">Weibo</p>
    <iframe width="100%" height="119" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=119&fansRow=2&ptype=1&speed=0&skin=9&isTitle=1&noborder=1&isWeibo=0&isFans=0&uid=null&verifier=b3593ceb&dpc=1"></iframe>
</div>


</aside>
</div>
    </div>
    <footer><div id="footer" >
	
	<div class="line">
		<span></span>
		<div class="author"></div>
	</div>
	
	
	<section class="info">
		<p> Hello ,I&#39;m Larry Page in Google. <br/>
			This is my blog,believe it or not.</p>
	</section>
	 
	<div class="social-font" class="clearfix">
		
		<a href="http://weibo.com/2176287895" target="_blank" class="icon-weibo" title="微博"></a>
		
		
		
		
		
		
		
		
		
		
	</div>
			
		

		<p class="copyright">
		Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/wuchong/jacman" target="_blank" title="Jacman">Jacman</a> © 2016 
		
		<a href="/about" target="_blank" title="zt.cfvli">zt.cfvli</a>
		
		
		</p>
</div>
</footer>
    <script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/jquery.qrcode-0.12.0.min.js"></script>

<script type="text/javascript">
$(document).ready(function(){ 
  $('.navbar').click(function(){
    $('header nav').toggleClass('shownav');
  });
  var myWidth = 0;
  function getSize(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
  };
  var m = $('#main'),
      a = $('#asidepart'),
      c = $('.closeaside'),
      o = $('.openaside');
  c.click(function(){
    a.addClass('fadeOut').css('display', 'none');
    o.css('display', 'block').addClass('fadeIn');
    m.addClass('moveMain');
  });
  o.click(function(){
    o.css('display', 'none').removeClass('beforeFadeIn');
    a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');      
    m.removeClass('moveMain');
  });
  $(window).scroll(function(){
    o.css("top",Math.max(80,260-$(this).scrollTop()));
  });
  
  $(window).resize(function(){
    getSize(); 
    if (myWidth >= 1024) {
      $('header nav').removeClass('shownav');
    }else{
      m.removeClass('moveMain');
      a.css('display', 'block').removeClass('fadeOut');
      o.css('display', 'none');
      
      $('#toc.toc-aside').css('display', 'none');
        
    }
  });
});
</script>

<script type="text/javascript">
$(document).ready(function(){ 
  var ai = $('.article-content>iframe'),
      ae = $('.article-content>embed'),
      t  = $('#toc'),
      ta = $('#toc.toc-aside'),
      o  = $('.openaside'),
      c  = $('.closeaside');
  if(ai.length>0){
    ai.wrap('<div class="video-container" />');
  };
  if(ae.length>0){
   ae.wrap('<div class="video-container" />');
  };
  c.click(function(){
    ta.css('display', 'block').addClass('fadeIn');
  });
  o.click(function(){
    ta.css('display', 'none');
  });
  $(window).scroll(function(){
    ta.css("top",Math.max(140,320-$(this).scrollTop()));
  });
});
</script>


<script type="text/javascript">
$(document).ready(function(){ 
  var $this = $('.share'),
      url = $this.attr('data-url'),
      encodedUrl = encodeURIComponent(url),
      title = $this.attr('data-title'),
      tsina = $this.attr('data-tsina'),
      description = $this.attr('description');
  var html = [
  '<div class="hoverqrcode clearfix"></div>',
  '<a class="overlay" id="qrcode"></a>',
  '<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>',
  '<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>',
  '<a href="#qrcode" class="article-share-qrcode" title="微信"></a>',
  '<a href="http://widget.renren.com/dialog/share?resourceUrl=' + encodedUrl + '&srcUrl=' + encodedUrl + '&title=' + title +'" class="article-share-renren" target="_blank" title="人人"></a>',
  '<a href="http://service.weibo.com/share/share.php?title='+title+'&url='+encodedUrl +'&ralateUid='+ tsina +'&searchPic=true&style=number' +'" class="article-share-weibo" target="_blank" title="微博"></a>',
  '<span title="Share to"></span>'
  ].join('');
  $this.append(html);

  $('.hoverqrcode').hide();

  var myWidth = 0;
  function updatehoverqrcode(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
    var qrsize = myWidth > 1024 ? 200:100;
    var options = {render: 'image', size: qrsize, fill: '#2ca6cb', text: url, radius: 0.5, quiet: 1};
    var p = $('.article-share-qrcode').position();
    $('.hoverqrcode').empty().css('width', qrsize).css('height', qrsize)
                          .css('left', p.left-qrsize/2+20).css('top', p.top-qrsize-10)
                          .qrcode(options);
  };
  $(window).resize(function(){
    $('.hoverqrcode').hide();
  });
  $('.article-share-qrcode').click(function(){
    updatehoverqrcode();
    $('.hoverqrcode').toggle();
  });
  $('.article-share-qrcode').hover(function(){}, function(){
      $('.hoverqrcode').hide();
  });
});   
</script>









<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
  $('.article-content').each(function(i){
    $(this).find('img').each(function(){
      if ($(this).parent().hasClass('fancybox')) return;
      var alt = this.alt;
      if (alt) $(this).after('<span class="caption">' + alt + '</span>');
      $(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
    });
    $(this).find('.fancybox').each(function(){
      $(this).attr('rel', 'article' + i);
    });
  });
  if($.fancybox){
    $('.fancybox').fancybox();
  }
}); 
</script>



<!-- Analytics Begin -->

<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75864707-1', 'null');  
ga('send', 'pageview');
</script>



<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?e6d1f421bbc9962127a50488f9ed37d1";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>



<!-- Analytics End -->

<!-- Totop Begin -->

	<div id="totop">
	<a title="Back to Top"><img src="/img/scrollup.png"/></a>
	</div>
	<script src="/js/totop.js"></script>

<!-- Totop End -->

<!-- MathJax Begin -->
<!-- mathjax config similar to math.stackexchange -->


<!-- MathJax End -->

<!-- Tiny_search Begin -->

<!-- Tiny_search End -->

  </body>
</html>
